<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Spring MVC测试页面</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            line-height: 1.6;
            margin: 0;
            padding: 20px;
            background-color: #f5f5f5;
        }
        .container {
            max-width: 800px;
            margin: 0 auto;
            background-color: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        h1 {
            color: #333;
            border-bottom: 2px solid #4CAF50;
            padding-bottom: 10px;
        }
        .info {
            color: #666;
            margin: 20px 0;
        }
        .success {
            color: #4CAF50;
            font-weight: bold;
        }
    </style>
</head>
<body>
<div class="container">
    <h1>Spring MVC 测试页面</h1>
    <div class="info">
        <p>这是一个简单的测试页面，用于验证Spring MVC控制器的跳转功能。</p>
        <p>如果您看到这个页面，说明：</p>
        <ul>
            <li>DispatcherServlet配置正确</li>
            <li>Controller控制器映射成功</li>
            <li>ViewResolver视图解析器工作正常</li>
        </ul>
    </div>
    <p class="success">测试成功！Spring MVC环境搭建完成。</p>
</div>
</body>
</html>
